package com.jrx.anytxn.transaction.dto.payment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 *  逾期还款请求实体
 * @author  haopu.zheng
 * date  2019/8/9
 **/
@ApiModel(value = "逾期还款请求实体", description = "逾期还款请求实体")
public class DelinquencyPaymentReq extends PaymentReq {

    /**
     * 还款金额
     */
    @ApiModelProperty(value = "还款金额",required = true)
    @NotNull(message="还款金额不可为空")

    @DecimalMin(value="0",message = "还款金额必需大于0")
    private BigDecimal repayAmount;

    public BigDecimal getRepayAmount() {
        return repayAmount;
    }

    public void setRepayAmount(BigDecimal repayAmount) {
        this.repayAmount = repayAmount;
    }

}
